package com.xsf.jieyou.provider;

import com.xsf.jieyou.configuration.DubboSentinelConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * 用户日志，Dubbo服务提供者，启动类。
 * <p>
 * Description:注意的是，熔断器需要在启动类@SpringBootApplication添加加载DubboSentinelConfiguration配置类的配置。
 * </p>
 *
 * @author xsf
 * @version v1.0.0
 * @date 2019/11/15 0015 2:54
 * @see com.xsf.jieyou.provider
 **/
@SpringBootApplication(scanBasePackageClasses = {ProviderUserLogApplication.class, DubboSentinelConfiguration.class})
@MapperScan(basePackages = "com.xsf.jieyou.provider.mapper")
public class ProviderUserLogApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProviderUserLogApplication.class, args);
    }
}
